package org.qiyu.live.im.core.server.handler;

import io.netty.channel.ChannelHandlerContext;
import org.qiyu.live.im.core.server.common.ImMsg;

/**
 * @ClassName: 工厂类
 * @Description: TODO
 * @Author zhangguangyan
 * @Date 2023/09/02/ 22:13:13
 * @Version 1.0
 */
public interface ImHandlerFactory {

    /**
     * 按照immsg的code去筛选
     *
     * @param channelHandlerContext
     * @param imMsg
     * @Params @param channelHandlerContext
     * @Return 按照immsg的code去筛选
     * @Description
     * @Author zhangguangyan
     * @Date 2023-09-02 22:14:36
     */
    void doMsgHandler(ChannelHandlerContext channelHandlerContext, ImMsg imMsg);
}
